﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class CRMOCRSignDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    public class CRMOCRSignRequestDto
    {
        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_no")]
        public string source_no { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "order_adjunct")]
        public string order_adjunct { get; set; }

    }

    public class CRMOCR_RequestDto
    {
        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "url")]
        public string url { get; set; }
    }

    public class DeliveryOrder
    {
        public int Code { get; set; }
        public string Address { get; set; }
        public string PlateNo { get; set; }
        public string DeliveryNo { get; set; }
        public string Message { get; set; }
        public string Title { get; set; }
        public string DeliveryTo { get; set; }
        public string Carrier { get; set; }
        public string DriverId { get; set; }
        public string DeliveryMode { get; set; }
        public string DriverPhone { get; set; }
        public string DeliveryDate { get; set; }
        public string ContactPhone { get; set; }
        public OrderInfo Order { get; set; }
    }

    public class OrderInfo
    {
        public string TotalQty { get; set; }
        public List<OrderItem> Items { get; set; }
        public string TotalPallet { get; set; }
    }

    public class OrderItem
    {
        public string DispatchNo { get; set; }
        public string ItemName { get; set; }
        public string PalletCount { get; set; }
        public string Qty { get; set; }
        public string MaterialCode { get; set; }
        public string Model { get; set; }
        public string SalesOrder { get; set; }
        public string Spec { get; set; }
    }








    /// <summary>
    /// 请求参数
    /// </summary>

    /// <summary>
    /// 
    /// </summary>
    public class CRMOCRSignResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "data")]
        public List<CRMOCRSign_DataResponseDto> data { get; set; }
    }

    public class CRMOCRSign_DataResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "signorder_no")]
        public string signorder_no { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "shiporder_no")]
        public string shiporder_no { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "salesorder_no")]
        public string salesorder_no { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_no")]
        public string source_no { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_name")]
        public string customer_name { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ship_date")]
        public string ship_date { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ship_qty")]
        public decimal ship_qty { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ship_ts")]
        public decimal ship_ts { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "car_no")]
        public string car_no { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_address")]
        public string customer_address { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "driver_name")]
        public string driver_name { get; set; }
    }

}
